package com.cug.zfanspring.service;


import com.cug.zfanspring.bean.DeviceAlarm;
import com.cug.zfanspring.mapper.DeviceAlarmMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class DeviceAlarmService {
    @Autowired
    DeviceAlarmMapper equipmentFailureMapper;
    public List<DeviceAlarm> getAllEquipmentFailure() {
        return equipmentFailureMapper.getAllEquipmentFailure();
    }
}
